package com.dy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("orders")
@ApiModel(value="Orders对象", description="")
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "接收商品id")
    private Integer gid;

    @ApiModelProperty(value = "接收商品名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "接收省份")
    @TableField("sf")
    private String sf;

    @ApiModelProperty(value = "接收邮递")
    @TableField("yd")
    private String yd;

    @ApiModelProperty(value = "接收销量")
    @TableField("xl")
    private Integer xl;

    @ApiModelProperty(value = "接收服务")
    @TableField("fw")
    private String fw;

    @ApiModelProperty(value = "接收图片")
    @TableField("tp")
    private String tp;

    @ApiModelProperty(value = "接收发货时间")
    @TableField("fhsj")
    private String fhsj;

    @ApiModelProperty(value = "接收现价")
    @TableField("xj")
    private BigDecimal xj;

    @ApiModelProperty(value = "接收原价")
    @TableField("yj")
    private BigDecimal yj;

    @ApiModelProperty(value = "接收邮费")
    @TableField("yf")
    private BigDecimal yf;

    @ApiModelProperty(value = "接收库存")
    @TableField("kc")
    private Integer kc;

    @ApiModelProperty(value = "接收状态")
    @TableField("zt")
    private Integer zt;

    @ApiModelProperty(value = "标签")
    @TableField("bq")
    private String bq;

    @ApiModelProperty(value = "收藏量")
    @TableField("sc")
    private Integer sc;

    @ApiModelProperty(value = "规格")
    @TableField("gg")
    private String gg;

    @ApiModelProperty(value = "数量")
    @TableField("sl")
    private Integer sl;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "购物车状态")
    private Integer gstatus;

    @ApiModelProperty(value = "卖家id")
    private Integer sellerid;

    @ApiModelProperty(value = "用户id")
    private Integer uid;

    @ApiModelProperty(value = "卖家")
    @TableField(exist = false)
    private String seller;

    @ApiModelProperty(value = "卖家图片")
    @TableField(exist = false)
    private String uimage;

}
